package com.sann.eduservice.service;

import com.sann.eduservice.entity.subject.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sann.eduservice.entity.subject.vo.OneSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author zjw
 * @since 2021-04-14
 */
public interface SubjectService extends IService<Subject> {

    //导入课程分类
    void importSubject(MultipartFile file, SubjectService subjectService);

    //获取所有课程科目，并以树形结构返回
    List<OneSubject> getAllOneTwoSubjectTree();
}
